package com.sunjob.mroassets.server;

import com.sunjob.common.domain.assets.Instance;
import com.sunjob.common.domain.assets.Status;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StatusService {

    Object getListByTypeAndStatus(String type,Integer status);

    int updateInstanceRepair(Long instanceId);

    int updateInstanceNormal(Instance instance);

    int updateInstanceScrap(Long instanceId);

    void updateEntityStatus();

    int updateInstanceNormalByPartName(Instance instance);
}
